package com.mingdinggroup.app;

/**
 * 作者：woodnaonly on 2017/2/22 10:26
 * 邮箱：497917264@qq.com
 * 内容：
 * 备注：
 */
public class AppConfig {
    //多次点击的间隔
    public static final int MIN_CLICK_DELAY_TIME = 500;

    public static final String API_SERVER_URL = BuildConfig.HOST;
    //	public static final String API_SERVER_URL = "http://des.mingdinggroup.com";
    //	public static final String API_SERVER_URL = "http://192.168.1.20";

    public static String getImageUrl(String url) {
        return API_SERVER_URL + url;
    }

    public static String getVideo(String url) {
        return API_SERVER_URL + url;
    }

    public static String getIM(String url) {
        return API_SERVER_URL + "/" + url;
    }

    public static String getShareNewsUrl(String id) {
        return API_SERVER_URL + "/index.php?s=/Home/share/index/id/" + id + ".html";
    }
}
